package com.site.model.master;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.site.util.base.po.BaseApplicationInfo;

/**
 * 城市列表
 * @author lee
 * @date 2013年11月7日
 */
@Entity
@Table(name = "c_code_city")
public class CityInfo extends BaseApplicationInfo {
	
	private static final long serialVersionUID = -5577445761711913630L;
	private Long id;
	private String name;
	private Long province_id;
	
	@Id
	@GeneratedValue
	@Column(name="id")
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	@Column(name="name")
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	@Column(name="province_id")
	public Long getProvince_id() {
		return province_id;
	}
	public void setProvince_id(Long province_id) {
		this.province_id = province_id;
	}
	
}
